home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / lfsrebuild / lfsrebuild.man < prev    next >
Encoding:
Text File  |  1992-03-12  |  1.9 KB  |  52 lines

  1. '\" Copyright 1992 Regents of the University of California
  2. '\" Permission to use, copy, modify, and distribute this
  3. '\" documentation for any purpose and without fee is hereby
  4. '\" granted, provided that this notice appears in all copies.
  5. '\" The University of California makes no representations about
  6. '\" the suitability of this material for any purpose.  It is
  7. '\" provided "as is" without express or implied warranty.
  8. '\" 
  9. '\" $Header: /sprite/src/admin/fsattach/RCS/fsattach.man,v 1.5 91/01/12 16:49:27 jhh Exp $ SPRITE (Berkeley)
  10. '/" 
  11. .so \*(]ltmac.sprite
  12. .HS LFSREBUILD cmds
  13. .BS
  14. '\" Note:  do not modify the .SH NAME line immediately below!
  15. .SH NAME
  16. lfsrebuild \- Rebuild a lfs file system.
  17. .SH SYNOPSIS
  18. \fBlfsrebuild\fR [\fIoptions\fR] \fBdeviceName\fP
  19. .SH OPTIONS
  20. .IP "\fB\-blockSize\fR \fsize\fP" 15
  21. Block size of file system.
  22. .IP "\fB\-superBlockOffset\fR \fIoffset\fP" 15
  23. Offset into device of the superBlock.
  24. .IP "\fB\-dump\fR" 15
  25. Print out a description of the file system.
  26. .IP "\fB\-showDirLog\fR" 15
  27. Print out the directory operation log.
  28. .IP "\fB\-full\fR" 15
  29. Print a full error analysis.
  30. .IP "\fB\-verbose\fR" 15
  31. Output progress messages during execution.
  32. .IP "\fB\-oldcp\fR" 15
  33. Uses old checkpoint (?).  This flag makes lfscheck use the opposite
  34. checkpoint area from the one it would use otherwise.
  35. .IP "\fB\-shownew\fR" 15
  36. Print new metadata to stdout.
  37. .IP "\fB\-doWrites\fR" 15
  38. Write new metadata to disk.
  39. .BE
  40. .SH DESCRIPTION
  41. .PP
  42. \fBLfsrebuild\fR rebuilds the file system metadata such as the inode map
  43. and segment usage table by scanning the summary blocks on disk.   It is 
  44. intented to be run to recover from errors that destory the inode map or
  45. segment usage table.   
  46. .SH BUGS
  47. This program is one of Mendel's private programs and has some bugs.
  48. In particular, it may mangle the file system.  Even after a "successful"
  49. rebuild, there may be dangling files and directories.
  50. .SH KEYWORDS
  51. lfs, disk, check, rebuild
  52.